<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <!--[if lt IE 9]>
      <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
      <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
    <title>Document</title>
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <style>
        div{
            color: pink;
            border: 1px solid #ccc;
        }
    </style>
</head>
<body>
    <!-- bootstrap中把container类一行分成12份 -->
    <div class="container">
        <div class="row">
            <!--col-lg-3表示大屏下一行放四个盒子，一个盒子占3份  
            col-md-4表示放一行放3个盒子，一个盒子占4份
            col-sm-6表示放一行放2个盒子，一个盒子占6份
            col-xs-12表示放一行放1个盒子，一个盒子占12份-->
           <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
               <div class="row">
                   <div class="col-lg-8">1</div>
                   <div class="col-lg-4">2</div>
               </div>
           </div>
           <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">2</div>
           <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">3</div>
           <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">4</div>
        </div>
    </div>
</body>
</html>